import json
from collections import defaultdict


def tree():
	return defaultdict(tree)

users = tree()
users['harold']['username'] = 'bell'
users['handler']['username'] = 'master'

print(json.dumps(users))
